#ifndef RANDOMUTIL_H
#define RANDOMUTIL_H

#include <map>
#include <string>

class RandomUtil
{
public:
    static RandomUtil* inst();
    int getRandomDate(const char *symbol);
    double getRandomPrice(const char *symbol);
    void insertRandomDate(const char *symbol);
    void insertRandomPrice(const char *symbol);
    void removeRandomDate(const char *symbol);
    void removeRandomPrice(const char *symbol);

protected:
    RandomUtil() {}
    std::map<std::string,int> m_mapDate;
    std::map<std::string,double> m_mapPrice;
    static RandomUtil *s_inst;
};

#endif